package com.imooc;

import org.springframework.context.ApplicationContext;
import org.springframework.core.io.ClassPathResource;
import org.springframework.core.io.DefaultResourceLoader;
import org.springframework.core.io.FileSystemResource;
import org.springframework.core.io.Resource;
import org.springframework.core.io.ResourceLoader;
import org.springframework.core.io.support.PathMatchingResourcePatternResolver;
import org.springframework.core.io.support.ResourcePatternResolver;
//import org.springframework.web.context.support.ServletContextResource;

/**
 * <h1>Resource&ResourceLoader</h1>
 * {@link Resource}  可以自动识别资源, ant风格匹配路径   ? * **
 * 		{@link FileSystemResource}
 * 		{@link ClassPathResource}
 * 		{@link ServletContextResource}
 * {@link ResourceLoader} 实现不同的resource 加载策略, 按需返回特定类型的Resource , 不支持 ant风格解析
 * 		实现类{@link DefaultResourceLoader}
 * 		拓展接口{@link ResourcePatternResolver}  支持ant风格  classpath*:   {@link ResourcePatternResolver#CLASSPATH_ALL_URL_PREFIX}
 * 			实现类{@link PathMatchingResourcePatternResolver}
 * 			拓展接口{@link ApplicationContext}
 *
 *
 * {@link  com.imooc.demo.resources.ResourceDemo}
 * @author : dzj
 * @create: 2022-05-07 22:25
 */
public class Debug0606 {
}
